package com.example.jpetstoreback.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("employee")
public class Employee {
    @TableId(value = "empid", type = IdType.INPUT)
    private String employeeId;
    private String phone;
    private String email;
    @TableField("admin")
    private int isAdmin;
    private String password;
}
